import request from '@/router/axios'

/**
 * 保存
 * @param {*} row
 * @returns
 */
export const save = row => {
  return request({
    url: '/biz-api/pv-supplier/supplierinforecord/save',
    method: 'post',
    data: row
  })
}

/**
 * 提交
 * @param {*} row
 * @returns
 */
export const submit = row => {
  return request({
    url: '/biz-api/pv-supplier/supplierinforecord/submit',
    method: 'post',
    data: row
  })
}

/**
 * 详情
 * @param {*} params
 * @returns
 */
export const detailAll = params => {
  return request({
    url: '/biz-api/pv-supplier/supplierinforecord/detail-all',
    method: 'get',
    params
  })
}

/**
 * 详情
 * @param {*} params
 * @returns
 */
export const detail = params => {
  return request({
    url: '/biz-api/pv-supplier/supplierinforecord/detail',
    method: 'get',
    params
  })
}
